package com.fc.test.mapper.auto;

import com.fc.test.model.auto.ForeNews;
import com.fc.test.model.auto.ForeNewsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 *  ForeNewsMapper
 * @author fuce_自动生成
 * @email 115889198@qq.com
 * @date 2020-04-26 16:58:54
 */
public interface ForeNewsMapper {
      	   	      	      	      	      	      	      
    long countByExample(ForeNewsExample example);

    int deleteByExample(ForeNewsExample example);
		
    int deleteByPrimaryKey(String id);
		
    int insert(ForeNews record);

    int insertSelective(ForeNews record);

    List<ForeNews> selectByExample(ForeNewsExample example);
		
    ForeNews selectByPrimaryKey(String id);
		
    int updateByExampleSelective(@Param("record") ForeNews record, @Param("example") ForeNewsExample example);

    int updateByExample(@Param("record") ForeNews record, @Param("example") ForeNewsExample example); 
		
    int updateByPrimaryKeySelective(ForeNews record);

    int updateByPrimaryKey(ForeNews record);
  	  	
}